package com.bulletelc.apollopre.module.main.classify;

import com.bulletelc.apollopre.entity.Classify;
import com.bulletelc.apollopre.framework.IPresenter;
import com.bulletelc.apollopre.framework.IView;

import java.util.List;

/**
 * author: lhl
 * date  : 2018/01/13
 * desc  : TODO
 */

public interface ClassifyContract {

    interface View extends IView {

        void onSuccessFirst(List<Classify> classifyList);

        void onFailFirst(String fail);

        void onErrorFirst(String error);

        void successSecond(List<Classify> classifyList);

        void onFailSecond(String fail);

        void onErrorSecond(String error);

    }

    interface Presenter extends IPresenter<View> {
        void getClassifyFirst();

        void getClassifySecond(String cid);
    }

}
